{% extends "base.html" %}
{% load debate_tags i18n %}

{% block page-title %}{% trans "Permission Denied (403)" %}{% endblock %}
{% block head-title %}
  <h2><span class="emoji">😾</span> {% trans "Permission Denied (403)" %}</h2>
{% endblock %}

{% block content %}
  <div class="card">
    <div class="card-body">
      {% if tournament %}
        {% tournamenturl 'tournament-public-index' as url %}
        {% blocktrans trimmed %}
          Whoops! This page isn't enabled for this tournament.
          <a href="{{ url }}">Back to the tournament home page.</a>
        {% endblocktrans %}
      {% else %}
        {% url 'tabbycat-index' as url %}
        {% blocktrans trimmed %}
          Whoops! This page isn't enabled for this tournament.
          <a href="{{ url }}">Back to the home page.</a>
        {% endblocktrans %}
      {% endif %}
    </div>
  </div>
{% endblock %}
